home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000110_fdc@watsun.cc.columbia.edu_Sun Nov 4 18:15:11 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  55 lines

  1. Article: 12928 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc
  5. Subject: Re: Dropping DTR in OSR5
  6. Date: 4 Nov 2001 23:15:45 GMT
  7. Organization: Columbia University
  8. Lines: 38
  9. Message-ID: <9s4i71$qqa$1@newsmaster.cc.columbia.edu>
  10. References: <9s40rp$fdh$1@newsmaster.cc.columbia.edu> <3be5c667$0$439$8eec23a@newsreader.tycho.net>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1004915745 27466 128.59.39.2 (4 Nov 2001 23:15:45 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 4 Nov 2001 23:15:45 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:139884 comp.protocols.kermit.misc:12928
  16.  
  17. In article <3be5c667$0$439$8eec23a@newsreader.tycho.net>,
  18. John DuBois <spcecdt@deeptht.armory.com> wrote:
  19. : In article <9s40rp$fdh$1@newsmaster.cc.columbia.edu>,
  20. : Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  21. : >But the real problem is that when Kermit *does* try to drop DTR briefly,
  22. : >it never comes back on...
  23. : >
  24. : >  cfgetospeed() and cfgetispeed() to get the speeds.
  25. : >  cfsetospeed() and cfsetispeed() to set the speed to 0.
  26. : >  tcsetattr() to make the speed changes take effect.
  27. : >  (pause)
  28. : >  cfsetospeed() and cfsetispeed() to restore the original speeds.
  29. : >  tcsetattr() to make the speed changes take effect.
  30. :
  31. : Some problems in this area were fixed in 5.0.6a.  Please test on that release
  32. : and see if you still encounter this problem.
  33. Unfortunately I don't have access to a 5.0.6a system that I can dial out
  34. from.
  35.  
  36. : >Speaking of modem signals, how are we supposed to read them?  The TIOCMGET
  37. : >ioctl() fails with error 22 ("invalid argument").
  38. : This is how I know you aren't using 5.0.6a :)
  39. :
  40. Besides that I said I was using 5.0.5? :-)  (More or less the same behavior
  41. occurs on 5.0.2 -- the difference being that in 5.0.5 DTR and RTS both go
  42. down and stay down; in 5.0.2 DTR and RTS both go down, DTR comes back up
  43. but RTS does not, so the modem still won't listen to commands.)
  44.  
  45. : TIOCMGET/TIOCMSET/etc. were first implemented in the sio driver in that
  46. : release.  In earlier releases, support for these ioctls was present only in
  47. : certain 3rd party serial drivers.
  48. So is it true to say that in OSR5.0.5 and earler just plain can't hang up
  49. a modem by any means short of closing the device and reopening it?
  50.  
  51. - Frank
  52.